package com.xunlai.infra.permission.business.service;

import com.xunlai.infra.permission.business.vo.memberships.MembershipsGoodsCreateVo;
import com.xunlai.infra.permission.business.vo.memberships.MembershipsGoodsListVo;
import com.xunlai.infra.permission.common.vo.BasePageRespVo;

/**
 * @author liang
 * @date 8/30/23 9:05 PM
 */
public interface MembershipsGoodsService {

    Long createMembershipsGoods(MembershipsGoodsCreateVo membershipsGoodsCreateVo);

    void updateMembershipsGoods(Long id, MembershipsGoodsCreateVo membershipsGoodsCreateVo);

    void deleteMembershipsGoods(Long id);

    BasePageRespVo<MembershipsGoodsListVo> listMembershipsGoods(Integer pageNum,Integer pageSize);
}
